#ifndef BOSS_H
#define BOSS_H
#include<QPixmap>
#include"attack.h"
#include"config.h"
class boss
{
public:
    boss();
    void updatePosition();
    void shoot();

public:
    attack m_attack[ATTACK_NUM];
    int m_recorder=0;
    QPixmap m_boss;
    int m_x;
    int m_y;
    QRect m_Rect;//碰撞实现
    bool m_free;
    int m_speed;
};

#endif // BOSS_H
